package com.content.scaffold.common.constants;


import com.google.common.collect.ImmutableList;

/**
 * @author 肖建良
 */
public class Constants {


    public static final String JAVA_IO_TMPDIR = System.getProperty("java.io.tmpdir");

    public static final ImmutableList<String> PDF_SUFFIX = ImmutableList.<String>builder()
            .add("PDF").build();
    public static final ImmutableList<String> DOC_SUFFIX = ImmutableList.<String>builder()
            .add("DOC").add("DOCX").build();
    public static final ImmutableList<String> IMG_SUFFIX = ImmutableList.<String>builder()
            .add("BMP").add("JPG").add("JPEG").add("GIF").add("PNG").build();

    public static final ImmutableList<String> ALL_SUFFIX = ImmutableList.<String>builder()
            .add("PDF").add("DOC").add("DOCX").add("BMP").add("JPG").add("JPEG").add("GIF").add("PNG").build();

    public static final String ATTACHMENT_FILE_NAME = "attachment;fileName=";

    public static final String UTF_8 = "UTF-8";

    public static final Integer STATUS_CODE = 200;

    public static final String METHOD  ="OPTIONS";

    public static final String  COMMA =",";
}
